package com.easy.dn.ui.usercenter.contract;

import com.easy.common.base.BaseModel;
import com.easy.common.base.BasePresenter;
import com.easy.common.base.BaseView;
import com.easy.dn.bean.UserInfoBean;

import java.util.Map;

import rx.Observable;

/**
 * Created by DN on 2017/5/3.
 */

public interface LoginContract {
    interface Model extends BaseModel {
        Observable<UserInfoBean> ObtainUserInfoData(Map<String, String> map);
    }

    interface View extends BaseView {
        void returnUserInfoData(UserInfoBean bean);
    }

    abstract static class Presenter extends BasePresenter<View, Model> {
        public abstract void getUserInfoData(Map<String, String> map);
    }
}
